<%@ page language="java" contentType="text/html;charset=utf-8" pageEncoding="utf-8"%>

<%@ include file="/core/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<%@ include file="/core/adminMeta.jsp"%>
		<script type="text/javascript">
			$(document).ready(function(){
				$(":submit").bind("click", function () {
	 				$("#commitForm").mask("数据提交中，请等待！");
				});
			});
			
		</script>
		<script type="text/javascript">
			function commit(){
			    if(confirm("确定审核通过？审核通过系统将自动根据配套进行打款。")){
			        var id=document.getElementById("id").value;
					var adminContent=document.getElementById("adminContent").value;
				 
					location.href='<%=basePath%>/admin/wealth/bankHuiCommit.shtml?id='+id+'&adminContent='+adminContent;
					
			    }else{
			        return;
			    }
			}
			function cancel(){
			    if(confirm("确定审核不通过？")){
			        var id=document.getElementById("id").value;
					var adminContent=document.getElementById("adminContent").value;
					 
					location.href='<%=basePath%>/admin/wealth/bankHuiCancel.shtml?id='+id+'&adminContent='+adminContent;
					
			    }else{
			        return;
			    }
			}
		</script>
		<!-- 遮罩效果结束 -->
	</head>
	
	<body>
		<div id="scrollContent">
		
			<div class="box2" panelTitle="查看" roller="true">
<jodd:form scopes="request" beans="bankHui">
	<input type="hidden" name="id" id="id"/>

					<table class="tableStyle" formMode="true">
					
						<tr>
							<th colspan="2">汇款查看</th>
						</tr>
					
						 
						<tr>
							<td>汇款会员：</td>
							<td>${bankHui.memberLoginName}</td>
						</tr>
						<tr>
							<td>提交时间：</td>
							<td>${bankHui.commitDate}</td>
						</tr>
						
						<tr>
							<td>汇款额：</td>
							<td>${bankHui.dailiPayNum}</td>
						</tr>
						<tr>
							<td>所属配套：</td>
							<td>${bankHui.dailiTitle}</td>
						</tr>
						 
						 
						<tr>
							<td>公司银行名称：</td>
							<td>${bankHui.bankName}</td>
						</tr>
						 
						<tr>
							<td>公司银行开户名：</td>
							<td>${bankHui.bankPersonName}</td>
						</tr>
						<tr>
							<td>公司银行卡号：</td>
							<td>${bankHui.bankCardNo}</td>
						</tr>
						
					 
						<tr>
							<td>汇款银行：</td>
							<td>${bankHui.huiBankName}</td>
						</tr>
						<tr>
							<td>汇款人姓名：</td>
							<td>${bankHui.huiPersonName}</td>
						</tr>
					 
						<tr>
							<td>会员留言备注：</td>
							<td>${bankHui.memberContent}</td>
						</tr>
						 
						<tr>
							<td>状态：</td>
							<td>
								<c:if test="${bankHui.state==10}">未审核</c:if>
								<c:if test="${bankHui.state==20}">已批准</c:if>
								<c:if test="${bankHui.state==30}">已拒绝</c:if>
							</td>
						</tr>
						
						<tr>
							<td>凭证：</td>
							<td >
								<a href="<%=basePath%>temp/${bankHui.fileName}" target="_blank"><img src="<%=basePath%>temp/${bankHui.fileName}"  /></a>
							</td>
						</tr>
						
						<c:if test="${bankHui.state==10}">
							<tr>
								<td>留言备注：</td>
								<td style="text-align: left;" >
									 
									 <input type="text"  id="adminContent" name="adminContent"/>
								</td >
							</tr>
							
							<tr>
								<td colspan="2">
									<div style="color: red;text-align:center;">
										${retMsg}
									</div>
								</td>
							</tr>
							
					
							<tr>
								<td colspan="2">
									
									<input type="button"  value=" 审核通过打款 " onclick="javascript:commit();" style="width:150px;font-size: 17px;font-weight: bold;height: 30px;"/>
									<input type="button"  value=" 审核不通过" onclick="javascript:cancel();" style="width:150px;font-size: 17px;font-weight: bold;height: 30px;" />
								
								</td>
							</tr>
						</c:if>
						<tr>
							<td colspan="2">
								
							 
							</td>
						</tr>
					</table>

		</jodd:form>	
				
			</div>
		</div>
	<!--代码高亮end-->
	</body>
</html>